package com.chen.mapper;

import com.chen.entity.Exam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author personcoder007
 * @since 2022-08-17
 */
public interface ExamMapper extends BaseMapper<Exam> {


    List<Exam> findPage(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize,
                        @Param("params") Map<String,Object> params);



    Integer selectTotal(@Param("name") String name);

    List<Exam> selectExamDoing();

}
